package com.xintai.system.domain.setother;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xintai.common.core.domain.BaseEntity;

/**
 * 磅盈设置对象 erp_other
 * 
 * @author xintai
 * @date 2021-01-15
 */
public class ErpOther extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer otherId;

    /** 数值 */
    private Double otherValue;

    /** 说明 */
    private String otherName;

    /** 类型
     * 0: 酸洗入口磅盈，
     * 1：酸洗出口磅盈，
     * 2：轧硬入口磅盈，
     * 3：轧硬出口磅盈，
     * 4：镀锌入口磅盈，
     * 5：镀锌出口磅盈，
     * 6：彩涂入口磅盈，
     * 7：彩涂出口磅盈 */
    private Integer otherType;

    public void setOtherId(Integer otherId) 
    {
        this.otherId = otherId;
    }

    public Integer getOtherId() 
    {
        return otherId;
    }
    public void setOtherValue(Double otherValue) 
    {
        this.otherValue = otherValue;
    }

    public Double getOtherValue() 
    {
        return otherValue;
    }
    public void setOtherName(String otherName) 
    {
        this.otherName = otherName;
    }

    public String getOtherName() 
    {
        return otherName;
    }
    public void setOtherType(Integer otherType) 
    {
        this.otherType = otherType;
    }

    public Integer getOtherType() 
    {
        return otherType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("otherId", getOtherId())
            .append("otherValue", getOtherValue())
            .append("otherName", getOtherName())
            .append("otherType", getOtherType())
            .toString();
    }
}
